<?php

/**
 * Framework_Presenter_Debug
 *
 * Having problems with your application? Why not switch your module's 
 * presenter to 'debug' to view a bunch of useful output. 
 *
 * @package BAMF
 */
class Framework_Presenter_Debug extends Framework_Presenter_Common {

	/**
	 * __construct
	 *
	 * @author Application Support Group
	 * @access public
	 * @param mixed $module Instance of Framework_Module
	 * @return void
	 */
	public function __construct(Framework_Module $module) {
		parent::__construct($module);
	}

	/**
	 * display
	 *
	 * This function displays debugging information for our module. It's a 
	 * good place to start when things go bonkers with your application.
	 *
	 * @author Application Support Group
	 * @return void
	 */
	public function display() {
		return Framework_Util_Debug::show( $this->module->getData(), false ) ;
	}

	public function __destruct() {
		parent::__destruct();
	}
}

?>
